package com.monitor.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 销售维修-轮胎维修临时表
 * </p>
 *
 * @author LX
 * @since 2018-09-12
 */
@TableName("erp_sale_repair_repair_temporary")
public class ErpSaleRepairRepairTemporary extends Model<ErpSaleRepairRepairTemporary> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 销售维修单ID
     */
    @TableField("order_id")
    private Integer orderId;
    /**
     * 维修项目
     */
    @TableField("repair_repair")
    private String repairRepair;
    /**
     * 物料来源
     */
    @TableField("materiel_source")
    private String materielSource;
    /**
     * 物料 名称
     */
    @TableField("materiel_name")
    private String materielName;
    /**
     * 物料 品牌
     */
    @TableField("materiel_brand")
    private String materielBrand;
    /**
     * 物料 规格
     */
    @TableField("materiel_Specifications")
    private String materielSpecifications;
    /**
     * 物料 型号
     */
    @TableField("materiel_model")
    private String materielModel;
    /**
     * 物料 产地
     */
    @TableField("materiel_place")
    private String materielPlace;
    /**
     * 物料 状态
     */
    @TableField("materiel_state")
    private String materielState;
    /**
     * 物料 单位
     */
    @TableField("materiel_unit")
    private String materielUnit;
    /**
     * 物料 生产编号
     */
    @TableField("materiel_production_id")
    private String materielProductionId;
    /**
     * 传感器ID
     */
    @TableField("materiel_sensor_id")
    private String materielSensorId;
    /**
     * 物料 去向
     */
    @TableField("materiel_out_to")
    private String materielOutTo;
    /**
     * 物料 数量
     */
    @TableField("materiel_number")
    private Integer materielNumber;
    /**
     * 物料 单价
     */
    @TableField("materiel_price")
    private Double materielPrice;
    /**
     * 物料 胎压
     */
    @TableField("materiel_pressure")
    private Double materielPressure;
    /**
     * 动平衡 左
     */
    @TableField("dynamic_balancing_left")
    private Integer dynamicBalancingLeft;
    /**
     * 动平衡 右
     */
    @TableField("dynamic_balancing_right")
    private Integer dynamicBalancingRight;
    /**
     * 物料 总价
     */
    @TableField("materiel_total")
    private Double materielTotal;
    /**
     * 物料 维修状态
     */
    @TableField("materiel_repair_state")
    private String materielRepairState;
    /**
     * 轮胎 胎纹深度1
     */
    @TableField("tire_tread1")
    private Double tireTread1;
    /**
     * 轮胎 胎纹深度2
     */
    @TableField("tire_tread2")
    private Double tireTread2;
    /**
     * 轮胎 胎纹深度3
     */
    @TableField("tire_tread3")
    private Double tireTread3;
    /**
     * 轮胎 胎纹深度4
     */
    @TableField("tire_tread4")
    private Double tireTread4;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getRepairRepair() {
        return repairRepair;
    }

    public void setRepairRepair(String repairRepair) {
        this.repairRepair = repairRepair;
    }

    public String getMaterielSource() {
        return materielSource;
    }

    public void setMaterielSource(String materielSource) {
        this.materielSource = materielSource;
    }

    public String getMaterielName() {
        return materielName;
    }

    public void setMaterielName(String materielName) {
        this.materielName = materielName;
    }

    public String getMaterielBrand() {
        return materielBrand;
    }

    public void setMaterielBrand(String materielBrand) {
        this.materielBrand = materielBrand;
    }

    public String getMaterielSpecifications() {
        return materielSpecifications;
    }

    public void setMaterielSpecifications(String materielSpecifications) {
        this.materielSpecifications = materielSpecifications;
    }

    public String getMaterielModel() {
        return materielModel;
    }

    public void setMaterielModel(String materielModel) {
        this.materielModel = materielModel;
    }

    public String getMaterielPlace() {
        return materielPlace;
    }

    public void setMaterielPlace(String materielPlace) {
        this.materielPlace = materielPlace;
    }

    public String getMaterielState() {
        return materielState;
    }

    public void setMaterielState(String materielState) {
        this.materielState = materielState;
    }

    public String getMaterielUnit() {
        return materielUnit;
    }

    public void setMaterielUnit(String materielUnit) {
        this.materielUnit = materielUnit;
    }

    public String getMaterielProductionId() {
        return materielProductionId;
    }

    public void setMaterielProductionId(String materielProductionId) {
        this.materielProductionId = materielProductionId;
    }

    public String getMaterielSensorId() {
        return materielSensorId;
    }

    public void setMaterielSensorId(String materielSensorId) {
        this.materielSensorId = materielSensorId;
    }

    public String getMaterielOutTo() {
        return materielOutTo;
    }

    public void setMaterielOutTo(String materielOutTo) {
        this.materielOutTo = materielOutTo;
    }

    public Integer getMaterielNumber() {
        return materielNumber;
    }

    public void setMaterielNumber(Integer materielNumber) {
        this.materielNumber = materielNumber;
    }

    public Double getMaterielPrice() {
        return materielPrice;
    }

    public void setMaterielPrice(Double materielPrice) {
        this.materielPrice = materielPrice;
    }

    public Double getMaterielPressure() {
        return materielPressure;
    }

    public void setMaterielPressure(Double materielPressure) {
        this.materielPressure = materielPressure;
    }

    public Integer getDynamicBalancingLeft() {
        return dynamicBalancingLeft;
    }

    public void setDynamicBalancingLeft(Integer dynamicBalancingLeft) {
        this.dynamicBalancingLeft = dynamicBalancingLeft;
    }

    public Integer getDynamicBalancingRight() {
        return dynamicBalancingRight;
    }

    public void setDynamicBalancingRight(Integer dynamicBalancingRight) {
        this.dynamicBalancingRight = dynamicBalancingRight;
    }

    public Double getMaterielTotal() {
        return materielTotal;
    }

    public void setMaterielTotal(Double materielTotal) {
        this.materielTotal = materielTotal;
    }

    public String getMaterielRepairState() {
        return materielRepairState;
    }

    public void setMaterielRepairState(String materielRepairState) {
        this.materielRepairState = materielRepairState;
    }

    public Double getTireTread1() {
        return tireTread1;
    }

    public void setTireTread1(Double tireTread1) {
        this.tireTread1 = tireTread1;
    }

    public Double getTireTread2() {
        return tireTread2;
    }

    public void setTireTread2(Double tireTread2) {
        this.tireTread2 = tireTread2;
    }

    public Double getTireTread3() {
        return tireTread3;
    }

    public void setTireTread3(Double tireTread3) {
        this.tireTread3 = tireTread3;
    }

    public Double getTireTread4() {
        return tireTread4;
    }

    public void setTireTread4(Double tireTread4) {
        this.tireTread4 = tireTread4;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ErpSaleRepairRepairTemporary{" +
        ", id=" + id +
        ", orderId=" + orderId +
        ", repairRepair=" + repairRepair +
        ", materielSource=" + materielSource +
        ", materielName=" + materielName +
        ", materielBrand=" + materielBrand +
        ", materielSpecifications=" + materielSpecifications +
        ", materielModel=" + materielModel +
        ", materielPlace=" + materielPlace +
        ", materielState=" + materielState +
        ", materielUnit=" + materielUnit +
        ", materielProductionId=" + materielProductionId +
        ", materielSensorId=" + materielSensorId +
        ", materielOutTo=" + materielOutTo +
        ", materielNumber=" + materielNumber +
        ", materielPrice=" + materielPrice +
        ", materielPressure=" + materielPressure +
        ", dynamicBalancingLeft=" + dynamicBalancingLeft +
        ", dynamicBalancingRight=" + dynamicBalancingRight +
        ", materielTotal=" + materielTotal +
        ", materielRepairState=" + materielRepairState +
        ", tireTread1=" + tireTread1 +
        ", tireTread2=" + tireTread2 +
        ", tireTread3=" + tireTread3 +
        ", tireTread4=" + tireTread4 +
        "}";
    }
}
